/*
 * =====================================================================================
 *       Filename:  clean_command.c
 *    Description:  
 *        Version:  2.0
 *        Created:  2017.06.03 23:54
 *         Author:  fujiajun (fjj), fujiajun@renren1.com
 *        Company:  HOOLINKS
 * =====================================================================================
 */

#include "xshell.h"

void clean_command(struct Command* command){
    int i;

    command->id = 0;
    command->command = NULL;

    for(i = 0; i < PARAMNUM; i++){
        command->param[i] = NULL;
    }

    command->paramNum = 0;
    command->path = NULL;

}